<!-- INCLUDE overall_header.html -->

<h1>{L_MENU_OVERVIEW}</h1>

<!-- IF NO_MENUS -->
	<div class="errorbox">
		<h3>{L_NO_MENU_TITLE}</h3>
		<p>{NO_MENU_EXPLAIN}</p>
	</div>
	
<!-- ELSE -->
	<table cellspacing="1">
		<col class="row1" /><col class="row1" /><col class="row2" />
	<tbody>
	<!-- BEGIN menu -->
		<tr>
			<td style="width: 5%; text-align: center;"><img src="{menu.S_LINKIMAGE}" alt="{menu.NAME}" /></td>
			<td>
				<strong>{menu.NAME}</strong>
				<br /><span><a href="{menu.LINK}">{menu.LINK_DB}</a></span>
				<br /><br /><span>{L_STATUS}: <strong>{menu.STATUS}</strong></span>
			</td>
			<td style="vertical-align: top; width: 84px; text-align: right; white-space: nowrap;">
				<!-- IF menu.S_TOP && not menu.S_BOTTOM -->
					{ICON_MOVE_UP_DISABLED}
					<a href="{menu.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
				<!-- ELSEIF not menu.S_BOTTOM && not menu.S_TOP-->
					<a href="{menu.U_MOVE_UP}">{ICON_MOVE_UP}</a>
					<a href="{menu.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
				<!-- ELSEIF menu.S_BOTTOM && not menu.STOP -->
					<a href="{menu.U_MOVE_UP}">{ICON_MOVE_UP}</a>
					{ICON_MOVE_DOWN_DISABLED}
				<!-- ELSE -->
					{ICON_MOVE_UP_DISABLED}
					{ICON_MOVE_DOWN_DISABLED}
				<!-- ENDIF -->
				<a href="{menu.U_EDIT}">{ICON_EDIT}</a>
				<a href="{menu.U_DELETE}">{ICON_DELETE}</a>
			</td>
		</tr>
	<!-- END menu -->
	</tbody>
	</table>
<!-- ENDIF -->

<form id="create_new_menu" method="post" action="{U_ACTION}">
	<fieldset class="quick">
		<input type="hidden" name="action" value="create" />

		<input type="text" name="menu_name" value="" maxlength="255" />
		<input class="button2" name="add_menu" type="submit" value="{L_CREATE_MENU}" />
		{S_FORM_TOKEN}
	</fieldset>
</form>

<!-- INCLUDE overall_footer.html -->